<form id="add-form" class="form-horizontal" style="position:relative;background: #fff" role="form"
      data-toggle="validator" method="POST" action="" xmlns="http://www.w3.org/1999/html">
    
    <div class="panel-body">
        <div id="myTabContent" class="tab-content" >
            <div class="tab-pane fade active in" id="tabs_0">
                <input type="hidden" id="c-id" name="row[id]" value="" class="form-control" data-rule="" data-tip="ID"  />

                <div class="form-group">
                    <label for="c-school_id" class="control-label col-xs-12 col-sm-2">学校:</label>
                    <div class="col-xs-12 col-sm-8" id="div-school_id">
                        <input type="number" id="c-school_id" name="row[school_id]" value="0" class="form-control" title="school_id" data-rule="integer" placeholder="只能填入整数"  data-tip="学校"  />
                    </div>
                </div>

                   <div class="form-group">
                        <label for="c-classes_id" class="control-label col-xs-12 col-sm-2">班级:</label>
                        <div class="col-xs-12 col-sm-8" id="div-classes_id">
                            <select  id="c-classes_id" name="row[classes_id]" class="form-control" title="classes_id" data-rule="integer" placeholder="只能填入整数"  data-tip="班级"  ></select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-student_id" class="control-label col-xs-12 col-sm-2">学生:</label>
                        <div class="col-xs-12 col-sm-8" id="div-student_id">
                            <input  id="c-student_id" name="row[student_id]" value="'0'" class="form-control" title="student_id"  placeholder="'0'" data-rule=""  data-tip="学生"  ></select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-add_time" class="control-label col-xs-12 col-sm-2">加入时间:</label>
                        <div class="col-xs-12 col-sm-8" id="div-add_time">
                            <input type="text" id="c-add_time" name="row[add_time]" value="" class="form-control datetimepicker"  data-use-current="true"  data-date-format="YYYY-MM-DD HH:mm:ss" data-tip="加入时间" data-rule=""  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-apply_status" class="control-label col-xs-12 col-sm-2">报名状态:</label>
                        <div class="col-xs-12 col-sm-8" id="div-apply_status">
                           <select name="row[apply_status]" id="c-apply_status"  class="form-control selectpicker"  data-rule=""  >
                               <option value="1">已缴费</option>
                               <option value="0">未缴费</option>
                           </select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-apply_id" class="control-label col-xs-12 col-sm-2">支付定单号:</label>
                        <div class="col-xs-12 col-sm-8" id="div-apply_id">
                            <input type="number" id="c-apply_id" name="row[apply_id]" value="" class="form-control" title="apply_id" data-rule="integer" placeholder="只能填入整数"  data-tip="支付定单号"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
                        <div class="col-xs-12 col-sm-8" id="div-status">                    
                            <input id="c-status" name="row[status]" type="hidden" value="1">
                            <a href="javascript:;" data-toggle="switcher" class="btn-switcher active" data-input-id="c-status" data-yes="1" data-no="0">
                                <i class="fa fa-toggle-on text-success fa-2x"></i>
                            </a>
                            <div data-favisible="switch=1" class="p-3">已开户</div>
                            <div data-favisible="switch=0" class="p-3">关闭</div>
                                                    </div>
                   </div>


                <div class="form-group layer-footer">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-8">
                        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</form>



